﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MvcApplication1.Models.Dashboard
{
    public class FileSystemLog
    {
        private String _path;
        private DateTime _createdTime;
        private DateTime _changedTime;
        private DateTime _deletedTime;
        private String _renamedFrom;
        private String _error;

        public string Path
        {
            get
            {
                return _path;
            }
            set
            {
                _path = value;
            }
        }

        public DateTime CreatedAt
        {
            get
            {
                return _createdTime;
            }
            set
            {
                _createdTime = value;
            }
        }

        public DateTime ChangedTime 
        {
            get
            {
                return _changedTime;
            }
            set
            {
                _changedTime = value;
            }
        }

        public DateTime DeletedTime
        {
            get
            {
                return _deletedTime;
            }
            set
            {
                _deletedTime = value;
            }
        }
        
        public String RenamedFrom
        {
            get
            {
                return _renamedFrom;
            }
            set
            {
                _renamedFrom = value;
            }
        }

        public String Error
        {
            get
            {
                return _error;
            }
            set
            {
                _error = value;
            }
        }


        public FileSystemLog()
        {

            _path = String.Empty;
            _createdTime = DateTime.Now;
            _changedTime = DateTime.Now;
            _deletedTime = DateTime.Now;
            _renamedFrom = String.Empty;
            _error = String.Empty;
        }
    }
}